package mx.forms;

import mx.groovy.GUtils;
import mx.setup.MxFactory;
import mx.setup.Setup;
import javafx.application.Application;
import javafx.stage.Stage;

public class TestWebForm extends Application {
    @Override  
    public void start(Stage primaryStage) throws Exception { 
    	WebForm testform = MxFactory.getBean("forms.testform");
    	//WebForm testform = MxFactory.getBean("forms.datagrid");
    	
        primaryStage.setScene(testform.getScene());
        primaryStage.show();
    }
    
    public static void main(String[] args) throws Exception {  
    	Setup.initMain();
    	GUtils.mop();
        launch(args);  
    }  
    
    
}
